package com.cqut.dto;

import com.cqut.util.BeanUtil;
import java.util.Date;
import com.cqut.model.MessageNotification;
import java.io.Serializable;


public class MessageNotificationDTO implements Serializable {
        
        private static final long serialVersionUID = 1L;
        
        private String noticeId;
        
        private Date messageTime;
        /**0 公告 1 系统通知*/
        private Integer messageType;
        
        private String message;
        
        public String getNoticeId() {
            return this.noticeId;
        }
        
        public void setNoticeId(String noticeId) {
            this.noticeId = noticeId;
        }
        
        public Date getMessageTime() {
            return this.messageTime;
        }
        
        public void setMessageTime(Date messageTime) {
            this.messageTime = messageTime;
        }
        
        public Integer getMessageType() {
            return this.messageType;
        }
        
        public void setMessageType(Integer messageType) {
            this.messageType = messageType;
        }
        
        public String getMessage() {
            return this.message;
        }
        
        public void setMessage(String message) {
            this.message = message;
        }
        
        public MessageNotification toModel() {
            MessageNotification model = new MessageNotification();
			BeanUtil.convert(this, model);
			return model;
        }
    
}